package cn.edu.shu.wechat.core.bean;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "xml")
public class TextMessage  extends BaseMessage{
	
	private String content;//消息内容
	@XmlElement(name="Content")
	public void setContent(String content) {
		this.content = content;
	}
	
	public String getContent() {
		return this.content;
	}
	
	public TextMessage() {
		super();
	}

	@Override
	public String toString() {
		return "TextMessage ["+super.toString()+" content=" + content + "]";
	}
	
	
	

}
